package org.socialnetwork.app;

import org.abac4j.context.AbacContext;
import org.socialnetwork.pojo.Usuario;
import org.socialnetwork.service.PhotoService;

public class HorarioDeTrabalho {
	private Usuario theOtherPerson = new Usuario();
	
	public HorarioDeTrabalho() {
		this.theOtherPerson = new Usuario();
	}
	
	public void execute() throws Exception {
		PhotoService service = AbacContext.createSafeObject(new PhotoService());
		System.out.println( service.getWorkingTimeAllowedPictures(theOtherPerson) );
	}
	
	public static void main(String[] args) throws Exception {
		new HorarioDeTrabalho().execute();
	}
}